package one.stand.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.context.ApplicationEvent;

@Data
@EqualsAndHashCode(callSuper = true)
public class CardUpdateEvent extends ApplicationEvent {
    /**
     * Create a new ApplicationEvent
     */
    private CardUpdateEvent() {
        super("UpdateGoodsEvent");
    }

    public CardUpdateEvent(Integer id) {
        this();
        this.id = id;
    }

    private Integer id;
}
